package example05;

public class Program {

	public static void main(String[] args)
	{
		Rectangle recta = new Rectangle ();
	       Triangle trgl = new Triangle ();
	       recta.setValues (4,5);
	       trgl.setValues (4,5);
	        System.out.println ("rect a:{0}"+ recta.area());
	        System.out.println ("trglb:{0}" +trgl.area());
	}

}
